| Fully Qualified Name: | Zend\Hydrator\StrategyEnabledInterface |
| Name | Description | Defined By |
|---|---|---|
| addStrategy() | Adds the given strategy under the given name. | StrategyEnabledInterface |
| getStrategy() | Gets the strategy with the given name. | StrategyEnabledInterface |
| hasStrategy() | Checks if the strategy with the given name exists. | StrategyEnabledInterface |
| removeStrategy() | Removes the strategy with the given name. | StrategyEnabledInterface |
Adds the given strategy under the given name.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | The |
| $strategy | \Strategy\StrategyInterface | The |
Returns: self
Gets the strategy with the given name.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | The |
Returns: \Strategy\StrategyInterface
Checks if the strategy with the given name exists.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | The |
Returns: bool
Removes the strategy with the given name.
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | The |
Returns: self